﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BookStore.Platform.utils
{
    public class WindowFolderNameCleaner
    {
        public static string[] illegalMatches = new string[] {"\\", "/", ":" ,"*", "?", "<", ">", "|" };

        public static string CleanName(string input)
        {
            foreach (string match in illegalMatches)
            {
                input.Replace(match, "");
            }
            return input;
        }
    }
}
